<?php 
//<script>window.location='http://google.com'</script>
if(isset($_POST['data'])) {
	
	echo ($_POST['data']);
	//echo htmlentities($_POST['data']);
	//echo mysql_real_escape_string($_POST['data']);
	//echo strip_tags($_POST['data']);
}

?>
<form action="" method="post">
	<textarea name="data"></textarea>	
	<input type="submit" value="done!!" />
</form>
